package com.example.vue20220402.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class Role {

    @TableId(value = "role_id" ,type = IdType.AUTO)
    private Integer roleId;

    private String roleName;
    @TableField(exist = false)
    private String powersname;
    //  角色对应的权限名称集合
    @TableField(exist = false)
    private List<Integer> flist;
    @TableField(exist = false)
    private List<Integer> slist;
}
